@import "variable";
$border-positions: ('t': "top", 'b': "bottom", 'l': "left", 'r': "right", 'a': "all") !default;;
@for $size from 0 through 16 {
@each $color_name, $color_color in $colors {
  @each $color_type, $color_value in $color_color {
      @each $position_name, $position_val in $border-positions {
        @if $color_type == base {
          .b#{$position_name}-#{$color_name}-#{$size} {
            @if $position_name != 'a' {
              border-#{$position_val}-color: $color_value !important;
              border-#{$position_val}-width: #{$size}px;
              border-#{$position_val}-style: solid;
            } @else {
              border: #{$size}px solid #{$color_value} !important;
            }
          }
        } @else {
          .b#{$position_name}-#{$color_name}-#{$color_type}-#{$size} {
            @if $position_name != 'a' {
              border-#{$position_val}-color: $color_value !important;
              border-#{$position_val}-width: #{$size}px;
              border-#{$position_val}-style: solid;
            } @else {
              border: #{$size}px solid #{$color_value} !important;
            }
          }
        }
      }
  }
}
}
